<?php
require_once APP_MSG_LANG_DIR . 'config_lang.php';

require_once 'core/base/BaseApp.php';
require_once 'core/base/BaseModel.php';
require_once 'core/app/AppModel.php';
require_once 'core/app/AppMsg.php';
require_once 'eleontev/Assorted.inc.php';
require_once 'eleontev/Util/FileUtil.php';
require_once 'adodb/adodb.inc.php';

$db =& DBUtil::connect($conf);

$reg =& Registry::instance();
$reg->setEntry('db', $db);
$reg->setEntry('tbl_pref', $conf['tbl_pref']);
$reg->setEntry('conf', $conf);
?>